/** 路由配置 */
const setRouter = [
  {
    path: '/modular',
    name: 'modularList',
    component: () => import('@/views/modular'),
    meta: { title: '模块配置' }
  },
  {
    path: '/category',
    name: 'categoryList',
    component: () => import('@/views/category'),
    meta: { title: '类目配置' }
  },
  {
    path: '/content',
    name: 'contentList',
    component: () => import('@/views/content/index'),
    meta: { title: '内容列表' }
    /* components: {
      keep: () => import('@/views/helpCenter/content/index')
    },
    meta: { title: '内容列表' , keepAlive: true}
    */
  },
  {
    path: '/content/add',
    name: 'contentAdd',
    components: {
      keep: () => import('@/views/content/Add')
    },
    meta: { title: '内容配置' }
  }
]
export default setRouter
